package com.desire.controller;

/**
 * @author LittleDesire
 * @description
 * @date 2022-04-20 周三 10:19
 * @since 17
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class UserController{

    @RequestMapping("/query")
    public ModelAndView query() {
        System.out.println("query");
        ModelAndView mv = new ModelAndView();
        mv.setViewName("index");
        return mv;
    }
    @RequestMapping("/del")
    public ModelAndView del() {
        System.out.println("del");
        ModelAndView mv = new ModelAndView();
        mv.setViewName("index");
        return mv;
    }

}
